import request from '/@/utils/request'

// 岗位列表
export const groupLists = (params?: any) => request.get('/user/group/lists', params);

// 岗位列表全部
export const groupAll = (params?: any) => request.get('/user/group/all', params);

// 添加岗位
export const groupAdd = (params?: any) => request.post('/user/group/add', params);

// 编辑岗位
export const groupEdit = (params?: any) => request.post('/user/group/edit', params);

// 删除岗位
export const groupDelete = (params?: any) => request.delete('/user/group/delete', params);

// 岗位详情
export const groupDetail = (params?: any) => request.get('/user/group/detail', params);